package com.huadao.cart_ccs.exception;

/**
 * 错误码
 */
public class ExceptionCode {
    public static final byte crash=0x00;

    public static final byte unpack=0x10;
    public static final byte HEAD=0x11;
    public static final byte LENGTH=0x12;
    public static final byte AGENT_CODE=0x13;
    public static final byte MAC=0x14;
    public static final byte DEVICE_TYPE=0x15;
    public static final byte COMMOND_WORD=0x16;
    public static final byte MODULAR_ORDER=0x17;
    public static final byte ORDER_CONTENT=0x18;
    public static final byte CHECKSUM=0x19;
    public static final byte TAIL=0x1a;

    public static final byte TEMPERATURE=0x20;
    public static final byte CO2=0x21;
    public static final byte O2=0x22;
    public static final byte WEIGHT=0x23;
    public static final byte SERIALPORT=0x24;

    public static final byte NETWORK_CONNECT=0x30;
    public static final byte NETWORK_TIMEOUT=0x31;
    public static final byte NETWORK_JSON=0x32;
    public static final byte NETWORK_API=0x33;
    public static final byte NETWORK_OTHER=0x34;
}
